package org.zhadoop.stream.cql.exception;

import org.zhadoop.streaming.exception.ErrorCode;

/**
 * 应用程序构建异常
 * 该异常主要发生在CQL语句经过语法解析之后，转化为API的各个算子期间
 * @author zwd
 *
 */
public class ApplicationBuildException extends ExecutorException{

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = -1496404531921651798L;

	public ApplicationBuildException(ErrorCode errorCode, String... errorArgs) {
		super(errorCode, errorArgs);
	}
	
	
	/**
     * <默认构造函数>
     *
     */
    public ApplicationBuildException(Throwable cause, ErrorCode errorCode, String... errorArgs){
        super(cause, errorCode, errorArgs);
    }
    
    /**
     * <默认构造函数>
     * 仅供内部warp函数使用
     *
     */
    protected ApplicationBuildException(Throwable cause, String fullMessage, ErrorCode errorCode){
        super(cause, fullMessage, errorCode);
    }

}
